package com.rock.goc.data.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.rock.common.utils.PageUtils;
import com.rock.common.utils.Query;

import com.rock.goc.data.dao.AreaLineDao;
import com.rock.goc.data.entity.AreaLineEntity;
import com.rock.goc.data.service.AreaLineService;


@Service("areaLineService")
public class AreaLineServiceImpl extends ServiceImpl<AreaLineDao, AreaLineEntity> implements AreaLineService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<AreaLineEntity> page = this.page(
                new Query<AreaLineEntity>().getPage(params),
                new QueryWrapper<AreaLineEntity>()
        );

        return new PageUtils(page);
    }

}